package com.ssm.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TradeServiceTest {

    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext(TradeService.class);
        TradeService bean = context.getBean(TradeService.class);
        bean.test();
    }
}
